package com.home.webapp.vo;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * Description:
 * Created by 王大宸 on 2020-10-08 16:50
 * Created with IntelliJ IDEA.
 */
public class LoginVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 登录账号
     */
    @NotBlank(message = "登录账号不能为空！")
    private String username;

    /**
     * 登录密码
     */
    @NotBlank(message = "登录密码不能为空！")
    private String password;

    private Boolean rememberMe;

    /**
     * 验证码
     */
    private String validateCode;

    /**
     * 登录成功跳转地址
     */
    private String successUrl;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public void setValidateCode(String validateCode) {
        this.validateCode = validateCode;
    }

    public String getSuccessUrl() {
        return successUrl;
    }

    public void setSuccessUrl(String successUrl) {
        this.successUrl = successUrl;
    }

    public Boolean getRememberMe() {
        return rememberMe;
    }

    public void setRememberMe(Boolean rememberMe) {
        this.rememberMe = rememberMe;
    }
}
